ContentControl\Controllers\PostTypes S

Total Complexity 15
Dependencies 1
Dependents 1
Total lines 259
Lines of code 152
Logical lines of code 59
Comment lines 81
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
register_rest_fields()
A
40 5 74
rest_pre_dispatch()
S
57 3 17
register_post_type()
S
47 1 38
sanitize_restriction_settings()
S
69 2 6
save_post()
S
71 2 6
init()
S
65 1 8
validate_restriction_settings()
S
82 1 3